/*
 * @Author: Michael丶Yao <825862865@qq.com> 825862865@qq.com
 * @Date: 2024-11-20 08:56:02
 * @LastEditors: yao
 * @LastEditTime: 2024-11-20 11:47:34
 * @FilePath: \element-plus-vite-starter-main\src\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from "vue";
import App from "./App.vue";
import "./router/guards";
import router from "./router";
import { createPinia } from "pinia";
// import "@/styles/element/index.scss";

// import ElementPlus from "element-plus";
// import all element css, uncommented next line
// import "element-plus/dist/index.css";

// or use cdn, uncomment cdn link in `index.html`

import "@/styles/index.scss";
import "uno.css";

// If you want to use ElMessage, import it.
import "element-plus/theme-chalk/src/message.scss";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";

const app = createApp(App);
app.use(createPinia());
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.use(router);
// app.use(ElementPlus);
app.mount("#app");
